Optimal. Leaf size=61 \[ -\frac {1024 \cos ^{11}(a+b x)}{11 b}+\frac {3072 \cos ^{13}(a+b x)}{13 b}-\frac {1024 \cos ^{15}(a+b x)}{5 b}+\frac {1024 \cos ^{17}(a+b x)}{17 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {4373, 2645,
276} \begin {gather*} \frac {1024 \cos ^{17}(a+b x)}{17 b}-\frac {1024 \cos ^{15}(a+b x)}{5 b}+\frac {3072 \cos ^{13}(a+b x)}{13 b}-\frac {1024 \cos ^{11}(a+b x)}{11 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 276
Rule 2645
Rule 4373
Rubi steps
\begin {align*} \int \csc ^3(a+b x) \sin ^{10}(2 a+2 b x) \, dx &=1024 \int \cos ^{10}(a+b x) \sin ^7(a+b x) \, dx\\ &=-\frac {1024 \text {Subst}\left (\int x^{10} \left (1-x^2\right )^3 \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac {1024 \text {Subst}\left (\int \left (x^{10}-3 x^{12}+3 x^{14}-x^{16}\right ) \, dx,x,\cos (a+b x)\right )}{b}\\ &=-\frac {1024 \cos ^{11}(a+b x)}{11 b}+\frac {3072 \cos ^{13}(a+b x)}{13 b}-\frac {1024 \cos ^{15}(a+b x)}{5 b}+\frac {1024 \cos ^{17}(a+b x)}{17 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 119, normalized size = 1.95 \begin {gather*} -\frac {35 \cos (a+b x)}{32 b}-\frac {7 \cos (3 (a+b x))}{16 b}+\frac {7 \cos (5 (a+b x))}{80 b}+\frac {\cos (7 (a+b x))}{8 b}-\frac {5 \cos (11 (a+b x))}{176 b}-\frac {\cos (13 (a+b x))}{208 b}+\frac {\cos (15 (a+b x))}{320 b}+\frac {\cos (17 (a+b x))}{1088 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 71, normalized size = 1.16
method | result | size |
default | \(\frac {-\frac {1024 \left (\sin ^{6}\left (x b +a \right )\right ) \left (\cos ^{11}\left (x b +a \right )\right )}{17}-\frac {2048 \left (\sin ^{4}\left (x b +a \right )\right ) \left (\cos ^{11}\left (x b +a \right )\right )}{85}-\frac {8192 \left (\sin ^{2}\left (x b +a \right )\right ) \left (\cos ^{11}\left (x b +a \right )\right )}{1105}-\frac {16384 \left (\cos ^{11}\left (x b +a \right )\right )}{12155}}{b}\) | \(71\) |
risch | \(-\frac {35 \cos \left (x b +a \right )}{32 b}+\frac {\cos \left (17 x b +17 a \right )}{1088 b}+\frac {\cos \left (15 x b +15 a \right )}{320 b}-\frac {\cos \left (13 x b +13 a \right )}{208 b}-\frac {5 \cos \left (11 x b +11 a \right )}{176 b}+\frac {\cos \left (7 x b +7 a \right )}{8 b}+\frac {7 \cos \left (5 x b +5 a \right )}{80 b}-\frac {7 \cos \left (3 x b +3 a \right )}{16 b}\) | \(111\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 91, normalized size = 1.49 \begin {gather*} \frac {715 \, \cos \left (17 \, b x + 17 \, a\right ) + 2431 \, \cos \left (15 \, b x + 15 \, a\right ) - 3740 \, \cos \left (13 \, b x + 13 \, a\right ) - 22100 \, \cos \left (11 \, b x + 11 \, a\right ) + 97240 \, \cos \left (7 \, b x + 7 \, a\right ) + 68068 \, \cos \left (5 \, b x + 5 \, a\right ) - 340340 \, \cos \left (3 \, b x + 3 \, a\right ) - 850850 \, \cos \left (b x + a\right )}{777920 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.68, size = 46, normalized size = 0.75 \begin {gather*} \frac {1024 \, {\left (715 \, \cos \left (b x + a\right )^{17} - 2431 \, \cos \left (b x + a\right )^{15} + 2805 \, \cos \left (b x + a\right )^{13} - 1105 \, \cos \left (b x + a\right )^{11}\right )}}{12155 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 314 vs.
\(2 (53) = 106\).
time = 0.46, size = 314, normalized size = 5.15 \begin {gather*} -\frac {32768 \, {\left (\frac {17 \, {\left (\cos \left (b x + a\right ) - 1\right )}}{\cos \left (b x + a\right ) + 1} - \frac {136 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{2}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{2}} + \frac {680 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{3}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{3}} + \frac {9775 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{4}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{4}} + \frac {71825 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{5}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{5}} + \frac {221000 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{6}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{6}} + \frac {486200 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{7}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{7}} + \frac {668525 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{8}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{8}} + \frac {692835 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{9}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{9}} + \frac {466752 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{10}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{10}} + \frac {233376 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{11}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{11}} + \frac {65637 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{12}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{12}} + \frac {12155 \, {\left (\cos \left (b x + a\right ) - 1\right )}^{13}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{13}} - 1\right )}}{12155 \, b {\left (\frac {\cos \left (b x + a\right ) - 1}{\cos \left (b x + a\right ) + 1} - 1\right )}^{17}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.13, size = 46, normalized size = 0.75 \begin {gather*} -\frac {-\frac {1024\,{\cos \left (a+b\,x\right )}^{17}}{17}+\frac {1024\,{\cos \left (a+b\,x\right )}^{15}}{5}-\frac {3072\,{\cos \left (a+b\,x\right )}^{13}}{13}+\frac {1024\,{\cos \left (a+b\,x\right )}^{11}}{11}}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________